package protocol

// CenterProtocol
const (
	CENTER_PROTOCOL_NONE = 0

	CCT_REGISTER      = 1
	SCT_REGISTER_RESP = 2

	FLAG_CENTER_PROTOCOL_NEED_REGISTER_BEGIN = 3

	CCT_RPC_INVOKE_RESP = 4 // `ignore`
	SCT_RPC_INVOKE_RESP = 5 // `ignore`

	FLAG_CENTER_PROTOCOL_FOR_GATE_BEGIN = 6

	CCT_VERIFY_ACCOUNT_VALIDITY = 7 // `rpc`

	FLAG_CENTER_PROTOCOL_FOR_GAME_BEGIN = 8

	SCT_PUSH_WORD_FILTER = 9 // `ct2game`

	CCT_CHARACTER_CREATE = 10 // `rpc`
	CCT_CHARACTER_DELETE = 11 // `rpc`

	CCT_GUILD_CREATE = 12 // `rpc`
	CCT_GUILD_DELETE = 13 // `rpc`

	CENTER_PROTOCOL_COUNT = 14
)

// LoginServer2CenterServer
const (
	LOGIN2CENTER_MESSAGE_NONE = 0

	CLC_REGISTER      = 1
	SLC_REGISTER_RESP = 2

	FLAG_LOGIN2CENTER_MSG_NEED_REGISTER_BEGIN = 3

	CLC_RPC_INVOKE_RESP = 4 // `ignore`
	SLC_RPC_INVOKE_RESP = 5 // `ignore`

	SLC_PUSH_GAME_SERVER_LIST   = 6
	SLC_PUSH_GAME_SERVER_STATUS = 7

	LOGIN2CENTER_MESSAGE_COUNT = 8
)
